package com.verlet.springbootdemo.simple.nettyrpc.client.scan;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author verlet
 * @date 2020/4/19
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface NettyRpcClient {

    @AliasFor("name")
    String value() default "nettyRpcClient";

    /**
     * bean 名称
     */
    @AliasFor("value")
    String name() default "nettyRpcClient";

}
